package com.hl.sfzy.entity.content;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDateTime;
import java.util.Date;


@ToString
@Setter
@Getter
public class PublicWelfare {
    private Integer id;
    private String welfareName;
    private String welfareDescription;
    private Integer organizerId;
    private String targetGroup;
    private String benefitDetails;
    private Integer participantCount;
    private Integer likes;
    private Integer categoryId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    public LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    public LocalDateTime lastUpdateTime;
    private Byte status;
    private String welfareImage;

}